package com.pascuit.gpxhandler.server.dao;

import java.util.List;

import com.pascuit.gpxhandler.shared.dto.GpxInfoDto;
import com.pascuit.gpxhandler.shared.dto.UserDto;

/**
 * 
 * @author Parant
 * 
 */
public interface UserDao {

	public void saveUser(UserDto user);

	public void saveGpx(GpxInfoDto gpxInfo);

	public List<UserDto> getAllUsers();

	public GpxInfoDto getByPrimaryKey(String key);

	public List<UserDto> fetch();

	public void saveOrUpdate(GpxInfoDto gpxInfo);
}
